/*
*
* RoleDepartment.java
* @date 2019-01-15
*/
package com.lyz.myself.pojo.Po;

import java.io.Serializable;
import java.util.List;

public class RoleDepartment implements Serializable {
    /**
     * 部门id
     */
    private Integer department_id;

    /**
     * 父类部门id
     */
    private Integer parent_id;

    /**
     * 部门名
     */
    private String name;

    /**
     * 部门描述
     */
    private String description;

    /**
     * 
     */
    private Integer company_id;

    private List<Position> positionList;
    private List<RoleDepartment> children;

    public List<RoleDepartment> getChildren() {
        return children;
    }

    public void setChildren(List<RoleDepartment> children) {
        this.children = children;
    }

    /**
     * 5kcrm_role_department
     */
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     * @return department_id 部门id
     */
    public Integer getDepartment_id() {
        return department_id;
    }

    /**
     * 部门id
     * @param department_id 部门id
     */
    public void setDepartment_id(Integer department_id) {
        this.department_id = department_id;
    }

    /**
     * 父类部门id
     * @return parent_id 父类部门id
     */
    public Integer getParent_id() {
        return parent_id;
    }

    /**
     * 父类部门id
     * @param parent_id 父类部门id
     */
    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    /**
     * 部门名
     * @return name 部门名
     */
    public String getName() {
        return name;
    }

    /**
     * 部门名
     * @param name 部门名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 部门描述
     * @return description 部门描述
     */
    public String getDescription() {
        return description;
    }

    /**
     * 部门描述
     * @param description 部门描述
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * 
     * @return company_id 
     */
    public Integer getCompany_id() {
        return company_id;
    }

    /**
     * 
     * @param company_id 
     */
    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }

    public List<Position> getPositionList() {
        return positionList;
    }

    public void setPositionList(List<Position> positionList) {
        this.positionList = positionList;
    }
}